package utils
{
	import flash.display.Loader;
	import flash.events.Event;
	import flash.net.URLRequest;

	public class SwfUtils
	{
		public function SwfUtils()
		{
		}
		
		public static function loadSwf(url:URLRequest, loadEvent:Function):void
		{
			var loader:Loader = new Loader();
			loader.load(new URLRequest("LiDaoChun.swf"));
			loader.contentLoaderInfo.addEventListener(Event.COMPLETE, function(e:Event){
				var swf = e.target.content;
				trace(swf._TFXML.text);
			});
		}
	}
}